﻿using System.Windows.Forms;

namespace ThirdLife.UI.WinForms.Controls
{
  public partial class TLAboutBoxContributors : Form, IWindowView
  {
    private IAboutBoxController _controller;

    public TLAboutBoxContributors()
    {
      InitializeComponent();
      textBoxWriters.Text = @"Daedius Moskvitch - daedius@daedius.com";
    }

    public IAboutBoxController Controller
    {
      get { return _controller; }
      set { _controller = value; }
    }

    #region IWindowView Members

    public void SetupView()
    {
    }

    public void DestroyView()
    {
    }

    public void ShowWindow()
    {
      Show();
    }

    public void HideWindow()
    {
      Hide();
    }

    #endregion

    private void buttonClose_Click(object sender, System.EventArgs e)
    {
      HideWindow();
    }
  }
}